<template>
  <div id="app">
    <div id="nav">
      <!-- <router-link to="/">首页</router-link> |
      <router-link to="/list">编程</router-link> |
      <router-link to="/about">关于</router-link> | -->
      <Nav />
      <router-view />
    </div>
  </div>
</template>

<script>
import Nav from '@/components/Nav'
export default {
  name:'app',
  components:{
    Nav
  }
}
</script>

<style>
body{
  background: #f1f1f1;
}

.el-container{
  width: 1200px;
  margin: auto;
}
</style>
